package com.yy.wga.mp.module.third.request;

import com.yy.wga.mp.module.third.enums.EAliSMSTemplateCode;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by gc on 2021/8/30.
 *
 * @author : gc
 *
 * Description: 支付宝转账接口请求参数
 **/
@Data
public class SmsRequest {

    private static final long serialVersionUID = -7027487347217226590L;
    /**
     * 自定义参数，比如验证码内容
     */
    private String params;
    /**
     * 接受手机号
     */
    @NotEmpty(message = "接受手机号不能为空")
    private List<String> phoneList;
    /**
     * 短信渠道码
     */
    @NotNull(message = "短信渠道码不能为空")
    private EAliSMSTemplateCode templateCode;
}
